<?php

class ArrayTool {
	
	static public function array_combine_unsize(array $keys, array $values){
		$tempArray = array();
		$j = 0;
		$countKeys = count($keys);
		$count = max($countKeys,count($values));
		for ($i = 0; $i<$count; ++$i)
			if ($i<$countKeys)
				$tempArray[$keys[$i]] = $values[$i];
			else 
				$tempArray[$j++] = $values[$i];
		return $tempArray;
	}
	
}

?>
